package com.example.test_anno_and_aspect.anno;

import java.lang.annotation.*;

/**
 * @version 1.0.0
 * Created by cyd on 2022-05-31 10:52:58
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AnnoDemo {

    RequestType requestType();

    enum RequestType{
        GET,
        POST
    }

    DataLevel dataLevel() default DataLevel.APPLICATION;

    enum DataLevel{
        APPLICATION,
        PRODUCT,
        DEVICE
    }
}
